package NewCoder;

public class BM91 {
    public String solve (String str) {
        // write code here
        if(str.length()==0 || str==null) return "";
        char[] s=str.toCharArray();
        for(int i=0;i<s.length;i++){
            s[i]=str.charAt(s.length-i-1);
        }
        return new String(s);
    }
}
